﻿/*************************************
 * Creator:SunnyPaine
 * DateTime:2022/8/22 15:21:52
 * Description:<Description>
 * CopyRight:
 * ***********************************/

using SqlSugar;
using SunnyPaine.Autofac.Extension.Stereotype.Attributes;

namespace SunnyPaine.Autofac.Extension.SqlSugar.Repository
{
    /// <summary>
    /// 提供基础的SqlSugar操作。
    /// </summary>
    [Inject]
    public interface IBaseSqlSugar<T>
    {
        /// <summary>
        /// 查询数据
        /// </summary>
        /// <returns></returns>
        ISugarQueryable<T> Selector();
    }
}
